package utils;

import static main.Constants.*;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;

import javax.imageio.ImageIO;

public class Images {
	
	public static BufferedImage imageFullHealth;
	public static BufferedImage imageLongFullHealth;
	public static BufferedImage imageCloseGift;
	public static BufferedImage imageCloseNo;
	public static BufferedImage imageAttackDark;
	public static BufferedImage imageAttackRed;
	public static BufferedImage imageShield;
	
	static final String PATH = "resource//";
	
	public final static String HEALTH_NAME = PATH + "full_health.png";
	public final static String LONG_HEALTH_NAME = PATH + "long_health.png";
	public final static String SHIELD_NAME = PATH + "shield.png";
	public final static String ATTACK_NAME_DARK = PATH + "attack_dark.png";
	public final static String ATTACK_NAME_RED = PATH + "attack_red.png";
	public final static String CLOSE_BUTTLE_NAME = PATH + "close_buttle.png";
	public final static String CLOSE_BUTTLE_NO_NAME = PATH + "close_buttle_no_gift.png";
	
	
	static {
		try {
			imageFullHealth = ImageIO.read(new File(HEALTH_NAME));
			imageLongFullHealth = ImageIO.read(new File(LONG_HEALTH_NAME));
			imageAttackDark = ImageIO.read(new File(ATTACK_NAME_DARK));
			imageAttackRed = ImageIO.read(new File(ATTACK_NAME_RED));
			imageCloseGift = ImageIO.read(new File(CLOSE_BUTTLE_NAME));
			imageCloseNo = ImageIO.read(new File(CLOSE_BUTTLE_NO_NAME));
			imageShield = ImageIO.read(new File(SHIELD_NAME));
		} catch (IOException e) {
			e.printStackTrace();
		}
	}

}
